package com.guagua.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guagua.system.dto.PasswordUpdateDTO;
import com.guagua.system.dto.UserUpdateDTO;
import com.guagua.system.entity.User;


public interface UserService extends IService<User> {
    
    User getUserByUsername(String username);
    
    boolean isUsernameExists(String username);
    
    boolean isEmailExists(String email);
    
    void updateUserInfo(Long userId, UserUpdateDTO dto);
    
    void updatePassword(Long userId, PasswordUpdateDTO dto);
} 